package com.example.administrator.yuejian35.Recommend.fragment.viewholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.administrator.yuejian35.R;

/**
 * Created by HP on 2017/9/26.
 */

public class ApplyItemViewHolder extends RecyclerView.ViewHolder{
    public static ImageView course_pic;
    public static TextView apply_state;
    public static TextView apply_id;
    public static TextView course_name;
    public static TextView course_price;
    public static TextView apply_time;
    public static TextView num;
    public static TextView sum;
    public static View itemView;//添加Onclick监听器

    public ApplyItemViewHolder(View itemView) {
        super(itemView);
        this.itemView=itemView;
        course_pic = (ImageView) itemView.findViewById(R.id.course_pic);
        apply_id = (TextView) itemView.findViewById(R.id.apply_id);
        course_name = (TextView) itemView.findViewById(R.id.course_name);
        apply_state = (TextView) itemView.findViewById(R.id.apply_state);
        course_price = (TextView) itemView.findViewById(R.id.course_price);
        apply_time = (TextView) itemView.findViewById(R.id.apply_time);
        num = (TextView) itemView.findViewById(R.id.num);
        sum = (TextView) itemView.findViewById(R.id.sum);

    }
}

